package com.sywl.web.util;

import org.springframework.aop.ThrowsAdvice;

/**
 * 全局异常处理
 * @author itachi
 *
 */
public class ExceptionProcess implements ThrowsAdvice {
	
	public void afterThrowing(RuntimeException  throwable) {
		System.out.println(throwable.getMessage());
	}
	
}
